/* 全局样式 */
body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 评分星星样式 */
.rating-input {
    font-size: 1.5rem;
    color: #ffc107;
    cursor: pointer;
}

.rating-input i {
    margin-right: 5px;
    transition: all 0.2s;
}

.rating-input i.fas {
    color: #ffc107;
}

.rating-input i:hover {
    transform: scale(1.2);
}

/* 评论卡片样式 */
.comment-card {
    border-left: 3px solid #007bff;
    padding: 15px;
    margin-bottom: 15px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.comment-rating {
    color: #ffc107;
}

.comment-content {
    margin: 10px 0;
    line-height: 1.6;
}

.comment-meta {
    font-size: 0.85rem;
    color: #6c757d;
}

/* 关键词云样式 */
.word-cloud {
    padding: 20px;
}

.keyword-tag {
    display: inline-block;
    padding: 5px 12px;
    margin: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.keyword-tag:hover {
    transform: scale(1.1);
}

/* 统计卡片样式 */
.stat-card {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* 管理面板样式 */
.admin-comment-item {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
}

.admin-comment-item:last-child {
    border-bottom: none;
}

.btn-group-sm .btn {
    font-size: 0.75rem;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .modal-dialog {
        margin: 10px;
    }
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 自定义滚动条 */
.comments-container {
    max-height: 600px;
    overflow-y: auto;
}

.comments-container::-webkit-scrollbar {
    width: 6px;
}

.comments-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.comments-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.comments-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
